import { Schema } from 'mongoose'

export const catygorySchema = new Schema({
    _id: { type: String, require: true},
    type: { type: String},
    tv: { type: String},
    refrigerator: { type: String},
    led: { type: String},
    washing: { type: String},
    airconditioner: { type: String},
    heater: { type: String},
    screen: { type: String},
    lock: { type: String },
    furniture: { type: String},
    monitor: { type: String},
    typeone: { type: String},
    userid: { type: String},
    typetwo: { type: String},
    typethree: { type: String},
    typefour: { type: String},
    typefive: { type: String},
    status: { type: String},
    role: { type: String }, // status 0 普通用户 1 管理员
});